<?php if(isset($error_messages)){ ?>
  <div class="client_notification">
    <h3>Please fix the errors below:</h3>
    <ul>
      <?php foreach($error_messages as $message){ ?>
        <li><?php echo $message[0]; ?></li>
      <?php } ?>
    </ul>
  </div>
<?php } ?>